//创建动作文件
//暴露一些动作函数
import  {ADD_CART,JIAN_CART} from './types'
export const addCart = (productInfo) => {
    return {
            type: ADD_CART,
            product: productInfo 
    }
}
export const jianCart = (productInfo) => {
    return {
            type: JIAN_CART,
            product: productInfo 
    }
}